import Vue from 'vue'
import App from './App'
import router from './router'

// 饿了吗
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// 引用Axios并全局使用
import axios from './http'
Vue.prototype.$axios = axios

// vue echarts
import echarts from 'echarts'
Vue.prototype.$echarts = echarts

Vue.config.productionTip = false

new Vue({
    el: '#app',
    router,
    components: { App },
    template: '<App/>'
})